.class Lcom/waiqin365/lightapp/dailyreport/az;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/dailyreport/view/cn;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;->q(Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;->d(Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;Z)Z

    return-void
.end method

.method public a(I)V
    .locals 3

    if-lez p1, :cond_1

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;->o(Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;)Lcom/waiqin365/lightapp/dailyreport/c/g;

    move-result-object v0

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->n:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;->o(Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;)Lcom/waiqin365/lightapp/dailyreport/c/g;

    move-result-object v0

    if-eqz v0, :cond_0

    const-string/jumbo v0, "2"

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;->o(Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;)Lcom/waiqin365/lightapp/dailyreport/c/g;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/g;->j:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string/jumbo v0, "3"

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;->o(Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;)Lcom/waiqin365/lightapp/dailyreport/c/g;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/g;->j:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string/jumbo v0, "100"

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;->o(Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;)Lcom/waiqin365/lightapp/dailyreport/c/g;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/g;->j:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;->o(Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;)Lcom/waiqin365/lightapp/dailyreport/c/g;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/g;->a:Ljava/lang/String;

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/dailyreport/a/b;->b(Ljava/lang/String;Ljava/lang/String;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;->b(Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;Z)Z

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;->h(Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;)Landroid/widget/RatingBar;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;->h(Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;)Landroid/widget/RatingBar;

    move-result-object v0

    int-to-float v1, p1

    invoke-virtual {v0, v1}, Landroid/widget/RatingBar;->setRating(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;->h(Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;)Landroid/widget/RatingBar;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RatingBar;->setVisibility(I)V

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;->q(Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/az;->a:Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;->d(Lcom/waiqin365/lightapp/dailyreport/ReportWithCommentActivity;Z)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method
